package com.java.yz.day06.homework.text;

import com.java.yz.day06.homework.demo.GoodsInfo;
import com.java.yz.day06.homework.demo.GoodsKind;

public class Text2 {
    public static void main(String[] args) {
        GoodsInfo goodsInfo = new GoodsInfo();
        GoodsKind goodsKind = new GoodsKind();
        goodsKind.setNum(11);
        goodsKind.setName("洗发水");
        goodsInfo.setGoodsId(111);
        goodsInfo.setGoodsKind(goodsKind);
        goodsInfo.setGoodsName("潘婷洗发水");
        goodsInfo.setNumber(1);
        goodsInfo.setPrice(45);
        goodsInfo.show();





    }
}
